<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%@ include file="./common/beforeContent.jsp"%>

<div class="wrapper">
    <div class="top">
        <div class="w1000">
            <h1 class="fleft"><img src="${resourcePath}/resources/img/logo.png" width="387" height="39"/></h1>
            <p class="fright f14 blue"><span style="color: #333;">已有帐号，</span><a href="/login" class="f14">去登录</a></p>
        </div>
    </div><!--/top-->
    <div class="cont">
        <div class="w800 mt30">
            <p class="text-ceter f18">企业注册</p>
            <p class="text-ceter f12 sx_gray mt10"></p>
            <form id="registerform" class="mt30">
                <div class="ints label-item label-item-left100">
                    <label><span class="star pr5">*</span>用户编码</label>
                    <input name="code" type="text" class="input w260" placeholder="请输入用户编码"
                           datatype="s4-20" nullmsg="请输入用户编码" errormsg="用户编码的格式不正确"/>
                </div>

                <div class="ints label-item label-item-left100">
                    <label><span class="star pr5">*</span>用户名称</label>
                    <input name="name" type="text" class="input w260" placeholder="请输入用户名称"
                           datatype="s2-20" nullmsg="请输入用户名称" errormsg="用户名称长度为2~20"/>
                </div>

                <div class="ints label-item label-item-left100">
                    <label><span class="star pr5">*</span>登录密码</label>
                    <input name="pwd" type="password" class="input w260" placeholder="请输入6~20位的密码"
                           datatype="*6-20,pw" nullmsg="请输入密码" errormsg="密码长度6~20位"/>
                    <span class="sx_gray f14 fright mt10">长度6~20,至少包含数字、字母和符号两种</span>
                </div>

                <div class="ints label-item label-item-left100">
                    <label><span class="star pr5">*</span>手机号</label>
                    <input name="mobile" type="text" class="input w260" placeholder="请输入手机号码"
                           datatype="m" nullmsg="请输入手机号码" errormsg="手机号码的格式不正确"/>
                </div>

                <div class="ints label-item label-item-left100">
                    <label><span class="star pr5">*</span>短信验证码</label>
                    <input name="vcode" type="text" class="input w260" placeholder="请输入短信验证码"
                           datatype="s6-6" nullmsg="请输入短信验证码" errormsg="短信验证码6位"/>
                    <span class="blue f14 hqyzm"><a href="javascript:;" class="register_vcode"></a></span>
                </div>

                <div class="ints label-item label-item-left100">
                    <label><span class="star pr5">*</span>企业名称</label>
                    <input name="company_name" type="text" class="input w260" placeholder="请输入企业名称"
                           datatype="s1-20" nullmsg="请输入企业名称" errormsg="企业名称长度为1~20位"/>
                </div>

                <div class="ints label-item label-item-left100">
                    <label><span class="star pr5">*</span>法定代表人</label>
                    <input name="company_law" type="text" class="input w260" placeholder="请输入法定代表人"
                           datatype="s1-20" nullmsg="请输入法定代表人" errormsg="法定代表人长度为1~20位"/>
                </div>

                <div class="ints label-item label-item-left100">
                    <label>社会信用代码</label>
                    <input name="company_code" type="text" class="input w260" placeholder="请输入社会信用代码"/>
                </div>

                <div class="ints label-item label-item-left100">
                    <label>登记机关</label>
                    <input name="company_dengji" type="text" class="input w260" placeholder="请输入登记机关"/>
                </div>

                <div class="ints label-item label-item-left100">
                    <label>企业地址</label>
                    <input name="company_address" type="text" class="input w260" placeholder="请输入企业地址"/>
                </div>


                <div class="ints">
                    <button class="register_but">注册</button>
                </div>
            </form>
        </div>
    </div><!--/cont-->
    <%@ include file="./common/bottom.jsp"%>
</div><!--/wrapper-->

<%@ include file="./common/javascript.jsp"%>

<script type="text/javascript" src="${resourcePath}/resources/front/register.js"></script>

<%@ include file="./common/afterContent.jsp"%>